package com.loong.member.common.forehead.param;

import com.loong.common.mvc.ParamBaseDO;
import com.loong.common.validator.group.CommonValidate;
import lombok.*;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @Description:
 * @Author: 刘群
 * @Date: 2020/10/26 15:04
 */
@Builder
@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
public class CartAndCartItemForeheadParam{
    /**
     * 购物车参数
     */
    @NotNull(message = "购物车不能为空",groups = {CommonValidate.class})
    private CartForeheadParam cartParam;
    /**
     * 购物详情集合参数
     */
    private List<CartItemForeheadParam> itemParamList;
}
